package com.bestcem.xm.cjm.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "ds_cjm_package")
public class CjmPackage extends BaseEntity2 {
    @TableId(value = "id")
    private String id;

    /**
     * 组织ID
     */
    @TableField(value = "orgID")
    @JsonProperty("orgID")
    @JSONField(name = "orgID")
    private String orgid;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    @JsonProperty("user_id")
    @JSONField(name = "user_id")
    private String userId;

    /**
     * 标题
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 排序
     */
    @TableField(value = "`order`")
    private Integer order;
}